﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VLine.InputDto._0416
{
    /// <summary>
    ///  未关联商品素材
    /// </summary>
    public class MaterialParam
    {
        /// <summary>
        ///  商铺id
        /// </summary>
        //[RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "商铺id必须项！")]
        //public int folder_id { get; set; }
        /// <summary>
        ///  商铺path
        /// </summary>
        [Required(ErrorMessage = "商铺path必填项！")]
        public string folder_path { get; set; }
        /// <summary>
        ///  类别
        ///  素材（图片、视频）=VRManager；VR作品=VRWorks；楼宇=VRBuilding；忆度元宇宙素材=QDMaterial
        /// </summary>
        [Required(ErrorMessage = "类别必填项！")]
        public string doc_type { get; set; }
        /// <summary>
        ///  素材格式
        /// </summary>
        public string mater_type { get; set; }
    }
    /// <summary>
    ///  获取未关联的商品素材
    /// </summary>
    public class UnlinkedMaterialParam
    {
        /// <summary>
        ///  商铺id
        /// </summary>
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "商品id必须项！")]
        public int fileID { get; set; }
        /// <summary>
        ///  商铺path
        /// </summary>
        [Required(ErrorMessage = "商铺path必填项！")]
        public string folder_path { get; set; }
        /// <summary>
        ///  类别
        ///  素材=VRManager；VR作品=VRWorks；楼宇=VRBuilding；忆度元宇宙素材=QDMaterial
        /// </summary>
        [Required(ErrorMessage = "类别必填项！")]
        public string doc_type { get; set; }
        /// <summary>
        ///  素材格式
        /// </summary>
        [Required(ErrorMessage = "素材格式必填项！")]
        public string mater_type { get; set; }
    }
}